package us.wili.dev.client.model;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import us.wili.dev.common.model.IdLongToStrSerializer;

import java.math.BigDecimal;

public class Detail {
    @ApiModelProperty("商品id")
    @JSONField(serializeUsing = IdLongToStrSerializer.class)
    private Long goods_id;
    @ApiModelProperty("商品图片")
    private String goods_pic;
    @ApiModelProperty("商品名称")
    private String goods_name;
    @ApiModelProperty("商品颜色")
    private Integer goods_color;
    @ApiModelProperty("商品价格")
    private BigDecimal goods_price;
    @ApiModelProperty("商品数量")
    private Integer goods_num;

    public Long getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Long goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_pic() {
        return goods_pic;
    }

    public void setGoods_pic(String goods_pic) {
        this.goods_pic = goods_pic;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public Integer getGoods_color() {
        return goods_color;
    }

    public void setGoods_color(Integer goods_color) {
        this.goods_color = goods_color;
    }

    public BigDecimal getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(BigDecimal goods_price) {
        this.goods_price = goods_price;
    }

    public Integer getGoods_num() {
        return goods_num;
    }

    public void setGoods_num(Integer goods_num) {
        this.goods_num = goods_num;
    }
}
